@charset "UTF-8";
/*
Theme Name: 企业网站定制
Theme URI: https://www.yxwlgs.net/
Author: Yixingseo
Author URI: https://www.yxwlgs.net/
Description: 企拓2023
Requires PHP: 5.6
Version: 1.0
Text Domain: yxseo
*/
:root{
    --color1:#029739;
    --color2:#333333;
}

@font-face {
    font-family: "Montserrat-Regular";
    src: url("static/fonts/Montserrat-Regular.woff") format("woff");
    font-display: swap;
}

.font-mr{
    font-family: "Montserrat-Regular";
}

input:focus {
    outline: none;
}

.prevnext{margin: 0;padding: 0;list-style-type: none;}
.webfont{font-family: 'webfont';}

body{font-family:Microsoft YaHei,Heiti SC,tahoma,arial,Hiragino Sans GB,sans-serif;position: relative;}
a:link,a:hover{text-decoration: none;}
img{max-width: 100%;}

.bg1{background-color: var(--color1);}
.text1{color:var(--color1);}
.bg2{background-color: var(--color2);}
.text2{color:var(--color2);}
.text-shadow{text-shadow: 0 1px 1px #333;}

.mline-text{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    line-height: 1.5rem;
}


@media screen and (min-width:1280px) {
    .container{max-width: 1200px;}
}

.wp-block-image>figure>figcaption{text-align: center;}


.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:rgba(0,0,0,0)}
.border{border:1px solid #eee}
.border-top{border-top: 1px solid #eee;}
.border-right{border-right: 1px solid #eee;}
.border-left{border-left: 1px solid #eee;}
.border-bottom{border-bottom: 1px solid #eee;}

/* top */
.banner{max-width: 100%;overflow: hidden;position: relative;background-color: #ccc;}
.banner .swiper-pagination{bottom: 1rem !important;}
.banner .swiper-pagination-bullet{width: 50px;height: 8px;border-radius: 0;}


.scrollleft{overflow: hidden;}
.scrollleft ul{display: flex;margin: 0;padding: 0;list-style-type: none;}
.scrollleft ul li{padding:10px;}
.scrollleft ul li img{max-width: 250px;}

.navbar-menu{list-style-type: none;}

.page .main h3{padding: 10px 15px;font-size:1.2rem;background-color: #015cad;color:#fff;display: inline-block;}

.top-search input:focus {
    outline: none;
}
.top-search form{border:1px solid #ddd;padding:5px 10px}
.top-search input{height: 40px;}
.top-search button, .top-search input{border: none;background-color: transparent;}

.nav-products,.nav-products ul{margin: 0;padding: 0;list-style-type: none;}
.nav-products li a{display: block;padding:10px;color:#000;transition: all ease .3s;}
.nav-products>li.current-menu-item>a,
.nav-products>li.current-menu-parent>a,
.nav-products li a:hover{color:var(--color2);background-color: #e9ebff;}
.nav-products li a::before{content: '-';padding-right: 5px;}
.nav-products>li>a::before{content: '\f0da';font: normal normal normal 14px/1 FontAwesome;transition: all ease .3s;}
.nav-products ul li a{font-size: 14px;}
.nav-products>li>a{padding:15px;background-color: #fff;}
.nav-products>li:not(:last-child){margin-bottom: 3px;}
.nav-products .sub-menu>li>a{padding:10px 10px 10px 20px;}

.nav-products .sub-menu {
    background-color: #f1f1f1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.nav-products > li:hover .sub-menu {
    max-height: 500px; /* 调整为你希望的最大高度 */
    transition: max-height 0.5s ease-in-out;
}

.nav-products>li.current-menu-item .sub-menu,
.nav-products>li.current-menu-parent .sub-menu
{
    max-height: 500px;
}

/* .nav-products>.current-menu-item>a,
.nav-products>.current-menu-parent>a
{font-weight: bold;} */

.marquee-gallery .item img{border:1px solid #ddd;}


a.more-btn{
    display: inline-block;
    background-color: var(--color1);
    color:#fff;
    padding:10px 0;
    border-radius: 30px;
    min-width: 170px;
    transition: all ease .3s;
}

a.more-btn .fa{
    transition: all ease .3s;
}

a.more-btn:hover{
    background-color: var(--color2);
}

a.more-btn:hover .fa{
    transform: translateX(7px);
}


.title{position: relative;}
.title-line{display: flex;justify-content: center;align-items: center;}
.title-line::before,
.title-line::after
{content: ''; display: block;height: 1px;background-color:#ccc;width: 5rem;margin: 0 1rem;}


.ad-left .left-title-bg{background: url(static/images/ad-bg2.webp) right center no-repeat;width: 233px;}


.home-search input{background-color: #f1f1f1;border-radius: 20px;min-width: 300px;padding:5px 15px;border:1px solid #f1f1f1;}
.home-search button{border:none;background-color: transparent;position: absolute;right: 10px;top: 15px;}
.home-search button:hover .fa{color:var(--color1)}
input.has-error{border:1px solid red;}
@media screen and (max-width:1023px) {
    .home-search input{width: 100%;}
}


.home1 .item{position: relative;}
.home1 .mask{position: absolute;bottom: 0;left: 0;width: 100%;background-color: rgba(0,0,0,0.5);z-index: 50;}
.home1 .mask .ani{transition: all ease .3s;}
.home1 .more-mask{position: absolute;top: 0; left: 0;width: 100%;height: 100%;background-color: rgba(64, 46, 50, .5);z-index: 30;
    transition: all ease .3s;transform: scale(0);
}
.home1 .item:hover .more-mask{transform: scale(1);}
.home1 .item:hover .mask .ani{transform: translateX(10px);}

.product-page h3{font-size:18px;font-weight: bold;border-bottom: 1px solid #ddd;padding: 1rem 0;}

.ad1 .item-list{background:url('static/images/ad1-icons.png') 5rem center no-repeat;min-height: 500px;}
.ad1 .item-list li{min-height: 137px;}
.ad1 .ad1-gallery{position: absolute;width: 50%;height: 100%;min-height: 500px;left: 0;top: 0;    
    background: url(static/images/about.jpg);
    background-size: cover;
}
@media screen {
    .ad1 .item-list{background:url('static/images/ad1-icons.png') 1rem center no-repeat;min-height: 500px;}
}



.index-left-bg{
    background: url(static/images/index-left-bg1.jpg);background-size: cover;
}


.home-catlist{}
.home-catlist ul{list-style-type: none;padding: 0;margin: 0;display: flex;justify-content: center;gap:10px}
.home-catlist li{margin-bottom: 5px;flex: 1;}
.home-catlist li a{display: block;background-color: #f1f1f1;padding:15px 10px;color:#333;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;text-align: center;}
.home-catlist li>a:hover,
.home-catlist ul>li:first-child>a
{background-color: var(--color1);color:#fff;}
@media screen and (max-width:767px) {
    .home-catlist ul{list-style-type: none;padding: 0;margin: 0;display: flex;flex-direction: column;}
}


.top-news .top-news-text{position: absolute;bottom: 0;left: 0;width: 100%;background-color: rgba(0,0,0,0.7);}
.top-news .top-news-text:hover{background-color: rgba(0,51,153,0.7);}
.top-news .p{margin-bottom: 0;}

.home-news-list>li:not(:last-child)::after{content: '';display: block;margin: auto;
    height: 1px;width: 90%; border-bottom: 1px dotted #ccc;
}


.home-yy{background:#1B4A76 url('static/images/bgx.jpg') bottom center; background-size:cover;}

.more-link a{position: relative;color:#fff;background-color: transparent;z-index: 0;}
.more-link a::before{content: ''; background-color: var(--color1);position: absolute;left: 0;top: 0;width: 100%;height: 100%;z-index: -2;}
.more-link a::after{content: '';width: 100%;height: 100%;background-color: var(--color2);position: absolute;left: 0;top: 0;z-index: -1;
    transition: all ease .3s;transform: scaleY(0);transform-origin: 0% 100%;
}
.more-link a:hover::after{transform: scaleY(1);}

.navbar-menu .sub-menu{margin: 0;padding: 0;list-style-type: none;}


.home-about{background:url(static/images/about-bg.jpg) center center no-repeat;background-size: cover;background-attachment: fixed; min-height: 600px;}
.home-about-gallery{overflow: hidden;}
.home-about-gallery .mask{position: absolute;background-color: rgba(0,0,0,0.7);width: 100%;height: 100%;left: 0;top: -100%;display: flex;
    justify-content: center;align-items: center;transition: all ease .5s;}
.home-about-gallery .mask a{color:#fff;display: block;width: 120px;height: 50px; text-align: center;border:1px solid #fff;line-height: 50px;}
.home-about-gallery:hover .mask{top: 0;}



.home-about .fix-bg{background: url(static/images/about.jpg) center center no-repeat;background-size: cover;
    width: 100%;height: 100%;min-height: 400px;}

.home4 .fix-bg{background: url(static/images/news.jpg) center center no-repeat;background-size: cover;width: 100%;height: 100%;min-height: 300px;}

.swiper-btns li i{cursor: pointer;}

/*顶部导航*/
@media screen and (min-width:1024px) {        
    .navbar-menu .sub-menu{position: absolute;left: 0;top: 100%;min-width: 15rem;width: 100%;box-shadow: 0 1px 3px #333;z-index: 999;
        transition: all ease .3s;transform: scaleY(0);transform-origin: 50% 0;list-style-type: none;margin: 0;padding: 0;
    }
    .navbar-menu .sub-menu>li:not(:last-child){border-bottom: 1px solid #ddd;}
    .navbar-menu .sub-menu>li>a{display: block;padding:15px 10px;background-color: #fff;color:#666;}
    .navbar-menu .sub-menu>li>a:hover{background-color: #f1f1f1;} 

    .header{background-color: #fff;}
    .header-change{background-color: rgba(0,0,0,0.7);}
    .header .top-menu-bg{background-color:var(--color1);}
    .header .navbar{align-items: center;}
    /* .header .navbar-brand{flex: 0 0 430px;} */
    /* .header .navbar-menu>li:not(:last-child){border-right: 1px solid #666;} */
    .header .navbar-menu{display: flex;flex: auto;justify-content: center;}
    .header .navbar-menu>.menu-item{position: relative;flex: 1;}
    .header .navbar-menu>li{margin-left: 1px;}
    .header .navbar-menu>.menu-item>a{
        display: block; height: 60px;line-height: 60px;text-align: center;
        font-size: 18px;position: relative;z-index: 1;color:#fff;min-width: 7rem;
    }
    .navbar-menu>li>a::before{
        content:''; background-color:var(--color2) ;display: block;width:100%;height: 100%;
        position: absolute;left:0;z-index: -1;
        transition: all ease .3s;transform: scaleX(0);
    }
    .navbar-menu>li.menu-item-has-children>a::after{
        content: '\f0d7';font-family: FontAwesome;padding-left: 5px;
    }
    .navbar-menu>.current-menu-item>a,
    .navbar-menu>.current-menu-parent>a,    
    .navbar-menu>.current-post-ancestor>a,
    .navbar-menu>li:hover>a,
    .navbar-menu>li>a:hover{
        color:#fff !important;
    }
    .navbar-menu>li:hover>a::before,
    .navbar-menu>.current-menu-item>a::before,
    .navbar-menu>.current-menu-parent>a::before,
    .navbar-menu>.current-post-ancestor>a::before
    {transform: scaleX(1);}
    .navbar-menu>li:hover>ul{transform: scaleY(1);}

    .page-gallery .item img{height: 200px;}    
}


@media screen and (max-width:1023px) {
    .header{padding:1rem 0;position: relative;background-color:#fff;}
    .navbar{width: 100%;}
    .navbar-brand{padding-right: 3rem;}
    .top-menu{justify-content: space-between;}
    .navbar-menu{position: absolute;z-index: 1020;left: 0;top: 100%;background-color: #fff;width: 100%;
        padding:0 1rem;border-top: 1px solid #f1f1f1;box-shadow: 0 10px 10px #f1f1f1;
        display: none;
    }
    /* .navbar-brand{max-width: 250px;} */
    .navbar-menu>li{}
    .navbar-menu>li>a{padding:15px 10px;display: block;color:#333;letter-spacing: 3px ;border-bottom: 1px solid #f1f1f1;}
    .navbar-menu>li>a::before{content: '\f0da';font-family: FontAwesome;padding-right: 1rem;color:#ccc;}
    .navbar-toggle{background-color: #fafafa;padding:5px 15px;border-radius: 3px;border:1px solid #eee;}
    .navbar-toggle .fa{font-size: 20px;color:#666;}
    .navbar-menu .sub-menu{
        display: none;
    }
    .navbar-menu .sub-menu>li{padding:8px 15px 8px 30px;}
    .navbar-menu .sub-menu>li>a{color:#666;display: block;}

    .about-list{flex-wrap: wrap;justify-content: center !important;}
    .about-list li{flex: 0 0 33%;}
}

/*区块*/
.loop-images .img-wrap{overflow: hidden;}
.loop-images .mask{background-color: rgba(0,51,153,0.8);position: absolute;top: 0;left: 0;text-align: center;color:rgba(255,255,255,0.6);
    transition: all ease .5s;transform: translateY(100%);}
.loop-images:hover .mask{transform: translateY(0);}
.loop-images i{font-size: 30px;}
.loop-images p{}
.loop-images a{color:#333;font-family: '微软雅黑';}
.loop-images:hover a{color:#2b90e0}
.text .wp-block-image{margin-bottom: 1rem;}
.wp-block-gallery{margin-bottom: 1.5rem;}

.news-tags a:link,.news-tags a:visited{color:#015cad;padding:0 10px;}
.news-tags a:hover{color:#cc9900}
.wp-block-media-text{margin-bottom: 1rem;}

.single-post-content .text img{border: 1px solid #ddd;}
.wp-block-gallery figure img{border:1px solid #ddd;}
.wp-block-gallery figure:hover img{border:1px solid #015cad}

.page-gallery .item{overflow: hidden;}
.page-gallery .item img{transition: all ease .3s;}
.page-gallery .item:hover{border:1px solid #004799;background-color: #f1f1f1;}
.page-gallery .item:hover img{transform: scale(1.2);}

/*侧边栏*/
.sidebar-widgets{color:#585858;}
.sidebar-widgets ul{list-style-type: none;margin: 0;padding: 0;}
.sidebar-widgets a:link,.sidebar-widgets a:visited{color:#585858;}
.sidebar-widgets a:hover{color:#1F6AA2}
.sidebar-widgets .widget .widgettitle{background-color:var(--color1);padding:1rem;color:#fff;font-weight: bold;}
.sidebar-widgets .widget .widgettitle::before{content: '\f13a';font-family: FontAwesome;padding-right: 10px;}
.sidebar-widgets .widget_nav_menu .menu>li:not(:last-child){border-bottom: 1px solid #b8ddff;}
.sidebar-widgets .widget_nav_menu .menu>li>a{display: block;padding:1rem;background-color: #fff;}
.sidebar-widgets .widget_nav_menu .menu>li>a::before{content: '\f0da';font-family: FontAwesome;padding-right: 10px;color:#015cad;}
.sidebar-widgets .widget_nav_menu .menu>li>a:hover{background-color: #cbe6ff;color:#000;}
.sidebar-widgets .widget_nav_menu .sub-menu>li{border-top: 1px dotted #ddd;}
.sidebar-widgets .widget_nav_menu .sub-menu>li>a{display: block;padding:.8rem 1rem;}
.sidebar-widgets .widget_nav_menu .sub-menu>li>a::before{content: '\f105';font-family: FontAwesome;padding-right: 10px;color:#ccc;}
.sidebar-widgets .widget_nav_menu .sub-menu>li>a:hover{background-color: #f1f1f1;}
.sidebar-widgets .widget_nav_menu .sub-menu ul{display: none;}
.sidebar-widgets .textwidget{padding:1rem;line-height: 2rem;}
.sidebar-widgets .widget_recent_entries ul>li{padding:1rem;}
.sidebar-widgets .widget_recent_entries ul>li:not(:last-child){border-bottom: 1px solid #ddd;}
.sidebar-widgets .widget_recent_entries ul>li>a::before{content: '· ';color:#1F6AA2;font-weight: bold;}
.wp-block-latest-posts.wp-block-latest-posts__list li{padding:10px;border-bottom: 1px solid #ddd;}
.wp-block-latest-posts.wp-block-latest-posts__list li a{color:#333}
.wp-block-latest-comments{padding:10px;}
.sidebar-widgets .widget_archive li{display: block;padding:20px;border-bottom: 1px solid #ddd;}

.sidebar-widgets .widget_search{padding:1rem;}
.sidebar-widgets .search-form{display: flex;}
.sidebar-widgets .widget_search .search-field{height: 40px;line-height: 40px;border:1px solid #ddd;padding:0 1rem}
.sidebar-widgets .widget_search .search-submit{height: 40px;background-color:var(--color1);color:#fff;padding:0 10px;}

/*留言*/
.comment-form{font-size:14px;}
.comment-form .form-group{margin-bottom: 10px;}
.comment-form .form-control{border:1px solid #ddd;padding:5px 10px;width: 100%;background-color: #fafafa;}
.comment-form .form-row{display: flex;align-items: center;}
.comment-form .submit{padding:10px 40px;background-color: #2b6cb0;color:#fff;border:none}
.comment-form .submit:hover{background-color: #015cad;}
.comment-form .form-control.error{border:1px solid red;}
.comment-form .form-control.success{border:1px solid green;}
.comment-form .yzm.form-control{width:200px}

/*列表页*/
section.main{min-height: 450px;padding-bottom: 3rem;}
.page-path{background-color: #fff;padding:25px 0;color:#666;}
.page-path a:link,.page-path a:visited{color:#666;}


.sidebar-nav .menu{margin: 0;padding: 0;list-style-type: none;}
.sidebar-nav .menu>li:not(:last-child){border-bottom: 1px solid #ddd;}
.sidebar-nav .menu>li>a{display: block;padding:15px;transition: all ease .5s;}
.sidebar-nav .menu>li>a::before{content: '\f0da'; font-family: FontAwesome;padding-right: 10px;}
.sidebar-nav .menu>li>a:hover{color:#00448a;transform: translateX(10px);}


.honor-list .item .img-wrap{flex:1;width: 100%;overflow: hidden;}
.honor-list .item .img-wrap img{max-height: 200px;transition: all ease .3s;}
.honor-list .item:hover .img-wrap{border-color: var(--color1);}
.honor-list .item:hover .img-wrap img{transform: scale(1.1);}
.honor-list .item:hover .tit{color:var(--color1)}


.pagelist{display: flex;justify-content: center;gap: 5px;font-size: 14px;}
.pagelist span,
.pagelist a
{background-color: #ddd;padding:7px 15px;border-radius: 3px;color:#666;}
.pagelist .current,
.pagelist a:hover
{background-color: #015cad;color:#fff;}

@media screen and (max-width:767px) {
    .page-title{font-size:1.2rem !important}
    .pagelist{flex-wrap: wrap;}
}

/*详情页*/
.page-title{border-bottom: 1px solid #ddd;position: relative;}
.prevnext{border-top:1px solid #ddd;}
.prevnext li{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.prevnext a:hover,
.text a:hover{color:#00448a}
.text p{margin-bottom: 1rem;}
.text a{color:#1F6AA2}
.post-gallery figure{border:1px solid #ddd;height: 100%;}
.post-gallery figure:hover{border:1px solidvar(--color1)}
.post-gallery figure a{padding:30px;}
@media screen and (max-width:768px) {
    .post-gallery figure a{padding:10px;}
}

.gallery-full .item img{
    max-height:200px ;    
}

.single-products img{border:1px solid #ddd;}

/*页脚*/
.footer{background: url(static/images/footer-bg.jpg) center center no-repeat;background-size: cover;}
.footer,
.footer a:link,
.footer a:visited
{color:#fff;}
.footer p{margin-bottom: 0;}
.footer a:hover{color: #ffa200;}

.footer-nav{border-top: 1px solid #ccc;}
.footer-nav ul{display: flex;margin: 0;padding: 0;list-style-type: none;justify-content: center;}
.footer-nav li{flex: 1;}
.footer-nav li a{display: block;color:#333;padding:15px 0;text-align: center;}
.footer-nav li a:hover{color:#fff;background-color: var(--color1);}
.footer-nav ul>li:not(:last-child){border-right: 1px solid #ccc;}

.footer .tit{font-size:1.2rem}
.footer .text p{margin-bottom: 1rem;}
.footer .ewm .item{width: 130px;}


/*客服代码*/
@media (min-width: 768px){
    .block-kf{display: flex;position: fixed;right: 0;bottom:10%;flex-direction: column;z-index: 999;}
    .block-kf ul{margin:0;padding:0;list-style-type: none;}
    .block-kf ul li{margin-bottom: 2px; position: relative;line-height: 30px;width: 50px;height: 50px;}
    .block-kf ul li a{display: flex;color:#fff;position: absolute;left: 0;top: 0;height: 50px;width: 50px;float: right;}
    .block-kf .fa{color:#fff;font-size:1.5rem;}
    .block-kf ul li .cont{color:#fff;white-space:nowrap;background:#00448a;padding:10px;position: absolute;
        right: 52px;top: 0;border-radius: 5px;transition: all ease .3s;transform: translateX(200px);opacity: 0;
    }
    .block-kf ul li .kf-wechat-image{max-width: 120px;height: 120px;}    
    .block-kf ul li .icon{flex:0 0 50px;text-align: center;background:var(--color2);overflow: hidden;height: 50px;padding:10px 0;border-radius: 5px 0 0 5px;}    
    .block-kf ul li:hover .cont{transform: translateX(0);opacity: 1;}
}


@media (max-width: 767px) {           
    .block-kf{position: fixed; bottom: 0;left: 0; background:var(--color1);color:#fff;width:100%;display: flex;justify-content: space-around;z-index: 999;font-size: 14px;;}
    .block-kf ul{margin: 0;padding: 0;list-style-type: none;display: flex;justify-content: space-between;width: 100%;}
    .block-kf ul li{width:100%;padding:5px 0}    
    .block-kf ul>li:not(:last-child){border-right: 1px solid #fff;}
    .block-kf ul li a{color:#fff;text-align: center;display: block;}
    .block-kf ul li .icon{font-size:22px;}
}
